package com.gym.system.statistics.domain;

import com.gym.common.annotation.Excel;
import com.gym.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 统计对象 gym_goods_statistics
 *
 * @author administrator
 * @date 2021-04-11
 */
public class GymGoodsStatistics extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     * 设备名称
     */
    @Excel(name = "设备名称")
    private String goodsName;

    /**
     * 设备种类
     */
    @Excel(name = "设备种类")
    private Long goodsId;

    /**
     *
     */
    @Excel(name = "设备数量")
    private Long goodsNum;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsNum(Long goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Long getGoodsNum() {
        return goodsNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("goodsName", getGoodsName())
                .append("goodsId", getGoodsId())
                .append("goodsNum", getGoodsNum())
                .toString();
    }
}
